package com.example.demo.jpa.person.repo;

import com.example.demo.jpa.person.domain.Person;
import org.springframework.data.repository.CrudRepository;


//接口操作用户
public interface PersonRepository extends CrudRepository<Person, Long> {


    Person findByName(String name);

    void deleteById(Long id);
}
